Registry Guide for Windows Part of the WinGuides Network |
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows. |
Change Drive Name and Icon (All Windows) Category: Home > Hardware > Disk Drives
This tweak allows you to change the name and icon shown in Explorer for a specific drive letter. Open your registry and find the key below. If the key does not already exist then create it. Within the main key create a new sub-key with a single letter representing the drive letter of the drive to be modified. (e.g. [HKEY...\DriveIcons\D]) Within the drive letter key create another sub-key called "DefaultIcon" (e.g. [HKEY...\DriveIcons\D\DefaultIcon]) and set the "(Default)" value to equal the fully qualified name of the icon file. If the file contains more that one icon follow it with a comma and the zero-based index of the icon (e.g. "c:\icons\myicons.dll,4"). Create another sub-key within the drive letter key called "DefaultLabel" (e.g. [HKEY...\DriveIcons\D\DefaultLabel]) and set it's "(Default)" value to equal the label for the drive letter (e.g. "My ZIP Drive").
For example:
Note: The "DefaultLabel" value only works with Windows 2000 and higher.
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
|
Return to Index | Copyright © 1998-2003. All Rights Reserved. License |